package com.nuaa.service.repertory.inter;

import java.util.List;
import java.util.Map;

import com.nuaa.domain.repertory.ProductInfoEntity;
import com.nuaa.domain.repertory.SubProductInfoEntity;
import com.nuaa.formmodel.LocalSubForm;
import com.nuaa.utils.AjaxMsg;
import com.nuaa.utils.DataGrid;
import com.nuaa.utils.PageInfo;

public interface ProInfoServiceInter {
	public DataGrid<Map<String, Object>> getProInfo(String customerNo,PageInfo pager);
	public DataGrid<Map<String, Object>> getNoZreoProInfo(String customerNo,PageInfo pager);
	public AjaxMsg subProInfo(ProductInfoEntity entity);
	public AjaxMsg delProInfo(String proNos);
	public AjaxMsg delSubProInfo(String ids);
	public AjaxMsg modifyProInfo(SubProductInfoEntity entity);
	public ProductInfoEntity getOneInfo(String id);
	public SubProductInfoEntity getOneSubProInfo(String id);
	public AjaxMsg subPutInPro(SubProductInfoEntity entity);
	public DataGrid<Map<String, Object>> getSubProInfo(PageInfo pager,String customerNo);
	public AjaxMsg addToCart(String ids);
	public DataGrid<Map<String, Object>> getAllCartsInfo(PageInfo pager,String customerNo);
	public AjaxMsg delCart(String ids);
	/**
	 * 从我的本地配送车中选择商品，并添加收货地址加入到我的本地配送订单中
	 * @param customer_no
	 * @param ids
	 */
	public AjaxMsg subFromCartToOrder(String ids,List<LocalSubForm> list);
	
	public DataGrid<Map<String,Object>> getAllSubProRecords(PageInfo pager,String pro_no,String pro_name,String customer_no,String tmFrom,String tmTo);

	public AjaxMsg delSubProRecords(String ids);
	
	public List<Map<String,Object>> getAllRecordsProNo();
}
